Skip to content

Fix for loop exit condition.#9859

Closed
anhu wants to merge 1 commit intomasterfrom
for_length
Closed

Fix for loop exit condition.#9859
anhu wants to merge 1 commit intomasterfrom
for_length

Conversation

@anhu
Copy link
Member

@anhu anhu commented Mar 4, 2026

size should be length.
s includes offset, so it must be compared against length, not size.
This is because size is only what is after offset.

Fixes ZD 21271

size should be length.  s includes offset, so it must be compared against
length, not size because size is only what is after offset.
@anhu anhu self-assigned this Mar 4, 2026
@anhu anhu requested a review from wolfSSL-Bot March 4, 2026 12:05
@anhu anhu added the For This Release Release version 5.9.0 label Mar 4, 2026
@anhu
Copy link
Member Author

anhu commented Mar 4, 2026

I've never seen this kind of build failure before:

make[2]: *** [tests/unit_test-suites.o] Abort trap: 6
make[2]: *** Deleting file `tests/unit_test-suites.o'

@anhu
Copy link
Member Author

anhu commented Mar 4, 2026

Jenkin retest this please

Build 'wolfSSL/PRB-fips-repo-and-harness-test-v3-part2' failed with result: FAILURE

@anhu
Copy link
Member Author

anhu commented Mar 4, 2026

Followed wrong procedure for opening a PR. Will re-open with branch from my own repo.

@anhu anhu closed this Mar 4, 2026
@anhu anhu deleted the for_length branch March 4, 2026 15:14
@anhu
Copy link
Member Author

anhu commented Mar 4, 2026

This has become #9860

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

For This Release Release version 5.9.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant